package me.queuelearn;

public class Test1 {
    public static void main(String[] args) {
        LinkedListQueue<Integer> llq = new LinkedListQueue<>(10);

        llq.offer(1);
        llq.offer(2);
        llq.offer(3);
        llq.offer(4);
        llq.offer(5);

        System.out.println(llq.isEmpty());
        System.out.println(llq.isFull());
        Integer peek = llq.peek();
        System.out.println(peek);
        System.out.println("-----------------");
        System.out.println(llq.poll());
        System.out.println("-----------------");
        for (Integer value : llq) {
            System.out.print(value + " ");
        }
    }
}
